window.setInterval(
    function():
        alert('test')
        alert2('test')
    10000